package com.teafriend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @author 欧楚杨
 * @TableName goods
 */
@TableName(value ="goods")
@Data
@ApiModel(value = "订单实体类")
public class Goods implements Serializable {
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单明细
     */
    @ApiModelProperty(value = "订单明细")
    private String info;

    /**
     * 茶叶商品
     */
    @ApiModelProperty(value = "茶叶商品")
    private String good;

    /**
     * 购买者id
     */
    @ApiModelProperty(value = "购买者id")
    private Integer purchaserid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}